const domain = "http://soolife.com.cn:9090/";
const CONFIG_MANAGER =
{
    RequstUrl: domain
    , imgeUrl: "http://img.soolife.cn/"
    , imageServer: ["http://soolife.com.cn:9091"]
    //, imageServer: ["http://d1.soolife.net", "http://d2.soolife.net", "http://d3.soolife.net"]
    , imagezoom: 0.8
    , validateaddress: "http://api.map.baidu.com/geocoder/v2/?ak=YRy3onEQ3n0Wmdb20jLEHTaY&output=json&address={0}"
    , storeImgurl: domain + "img/store-{0}/{1}"
    , authImgurl: domain + "img/auth-{0}/{1}"
    , senddelay: 60	//发送短信的延迟时间 单位：秒
    , headerHight: 44
    , pageSize: 10 //分页中每页显示个数jiagekongge
    , client: 1
}

// 互斥
const AGENT_CLIENT =
{
    APP: false,
    WEB: true
}

const STORAGE_MANAGER =
{
    searchword: "sessionstoragekey_searchword"                       // 查询关键字
    , searchhistory: "localstoragekey_searchhistory"                // 搜索历史纪录
    , searchtag: "localstoragekey_searchtag"                         // 搜索框中随机显示二级分类名称
    , user: "user"
    , customerInfo: "customerInfo"
    , adslocatins: "localstoragekey_adslocatins"                    // 广告缓存数据（1天有效）
    , category: "localstoragekey_category"                           // 分类缓存数据（1天有效）
    , parentcategory: "localstoragekey_parentcategory"             // 父类缓存数据（1天有效）
    , coinadslocatins: "localstoragekey_coinadslocatins"          // 星币广告缓存数据（1天有效）
    , cacheproductcount: "cacheProductCount"                        // 购物车中商品的个数
    , lastCheckTime: "localstoragekey_lastCheckTime"              // 最后查看时间
    , wgtversion: "localstoragekey_wgtversion"                     // 升级包新版本
    , wversion: "localstoragekey_version"                           // 新版本

}

const PAGE_NAME =
{
    home_index: "home_index"
    , goods_goodslist: "goods_goodslist"
    , goods_goodsdetail: "goods_goodsdetail"
    , shop_shop: "shop_shop"
}

const ERROR_MESSAGE =
{
    system: '系统错误' // 当前城市
    , network: "网络异常，请检查网络连接"
    , interface: "您的网络太不给力了！"
}

const SMS_TYPE = {
    register: "register", 	//星粉注册成功短信通知
    forget: "forget",		//忘记密码
    verify: "verify",		//发送验证码短信
    order: "order",		//发送订单生成短信
    pay_success: "pay_success", //发送订单支付成功短信
    refund: "refund",		//退款通知短信
    activity: "activity",	//参加活动短信通知
};

